package com.njym.java.security.app.biz;

import com.njym.java.security.app.entity.InvestTime;
import com.njym.java.security.app.mapper.InvestTimeMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:13:20
 */
@Service
public class InvestTimeBiz extends BaseBiz<InvestTimeMapper,InvestTime> {

    /**
     * 通过问卷编号查询问卷是否过期
     * @param investCode
     * @return
     */
    public InvestTime queryList(String investCode,Integer typetblId){
        return mapper.queryList(investCode,typetblId);
}

    /**
     * 通过问卷编号查询信息
     * @param investCode
     * @return
     */
    public InvestTime getList(String investCode,Integer typetblId){
        return mapper.getList(investCode,typetblId);
    }
}